package com.quzhi.sys.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Xibing
 * @since 2024-06-29
 */
@TableName("qz_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;


    private String id;

    @Alias("标记记录")
    private String creditRating;


    @Alias("来源")
    private String orderPlatform;


    @Alias("时效")
    private Integer ageing;

    @Alias("发货日")
    private LocalDateTime deliveryDate;



    @Alias("运费")
    private String freight;

    @Alias("备注")
    private String remark;

    @Alias("订单编号")
    private String orderNumber;

    @Alias("型号")
    private String tradeName;

    @Alias("商品名称")
    private String setMeal;

    @Alias("起租")
    private LocalDateTime startTime;

    @Alias("结束")
    private LocalDateTime endTime;

    @Alias("租期")
    private Integer duration;

    @Alias("租金")
    private Integer money;

    @Alias("配件")
    private String attachment;

    @Alias("姓名")
    private String userName;

    @Alias("电话")
    private String phone;

    @Alias("客户收货信息")
    private String address;

    @Alias("下单日期")
    private LocalDateTime orderDate;

    private String trackingNumber;

    private String receiptNumber;

    private String getReceiptNumber;

    private LocalDateTime getReceiptDate;

    private LocalDateTime isGetReceiptDate;

    @Alias("操作人")
    private String operator;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String orderStatus;

    private String debitStatus;

    private String stockStatus;

    private String addressStatus;


    private Boolean deleted;


    public String getCreditRating() {
        return creditRating;
    }

    public void setCreditRating(String creditRating) {
        this.creditRating = creditRating;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderPlatform() {
        return orderPlatform;
    }

    public void setOrderPlatform(String orderPlatform) {
        this.orderPlatform = orderPlatform;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getDebitStatus() {
        return debitStatus;
    }

    public void setDebitStatus(String debitStatus) {
        this.debitStatus = debitStatus;
    }

    public String getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(String stockStatus) {
        this.stockStatus = stockStatus;
    }

    public String getAddressStatus() {
        return addressStatus;
    }
    public void setAddressStatus(String addressStatus) {
        this.addressStatus = addressStatus;
    }

    public LocalDateTime getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(LocalDateTime deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Integer getAgeing() {
        return ageing;
    }

    public void setAgeing(Integer ageing) {
        this.ageing = ageing;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getTradeName() {
        return tradeName;
    }

    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public String getSetMeal() {
        return setMeal;
    }

    public void setSetMeal(String setMeal) {
        this.setMeal = setMeal;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public LocalDateTime getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(LocalDateTime orderDate) {
        this.orderDate = orderDate;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public String getReceiptNumber() {
        return receiptNumber;
    }

    public void setReceiptNumber(String receiptNumber) {
        this.receiptNumber = receiptNumber;
    }

    public String getGetReceiptNumber() {
        return getReceiptNumber;
    }

    public void setGetReceiptNumber(String getReceiptNumber) {
        this.getReceiptNumber = getReceiptNumber;
    }

    public LocalDateTime getGetReceiptDate() {
        return getReceiptDate;
    }

    public void setGetReceiptDate(LocalDateTime getReceiptDate) {
        this.getReceiptDate = getReceiptDate;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }


    public LocalDateTime getIsGetReceiptDate() {
        return isGetReceiptDate;
    }

    public void setIsGetReceiptDate(LocalDateTime isGetReceiptDate) {
        this.isGetReceiptDate = isGetReceiptDate;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id='" + id + '\'' +
                ", creditRating='" + creditRating + '\'' +
                ", orderPlatform='" + orderPlatform + '\'' +
                ", deliveryDate=" + deliveryDate +
                ", freight='" + freight + '\'' +
                ", remark='" + remark + '\'' +
                ", orderNumber='" + orderNumber + '\'' +
                ", tradeName='" + tradeName + '\'' +
                ", setMeal='" + setMeal + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", duration=" + duration +
                ", money=" + money +
                ", attachment='" + attachment + '\'' +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", orderDate=" + orderDate +
                ", trackingNumber='" + trackingNumber + '\'' +
                ", receiptNumber='" + receiptNumber + '\'' +
                ", getReceiptNumber='" + getReceiptNumber + '\'' +
                ", getReceiptDate=" + getReceiptDate +
                ", operator='" + operator + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", orderStatus=" + orderStatus +
                ", debitStatus=" + debitStatus +
                ", stockStatus=" + stockStatus +
                ", addressStatus=" + addressStatus +
                ", deleted=" + deleted +
                '}';
    }
}
